//引入css样式
import 'ant-design-vue/dist/antd.css'
//按需引入
import {
  Button,
  Form,
  Input,
  Layout,
  Menu,
  Breadcrumb,
  Radio,
  Table,
  Dropdown,
  Tag,
  Badge,
  Empty,
  Checkbox,
  Select,
} from 'ant-design-vue'
const arr = [
  Button,
  Form,
  Input,
  Layout,
  Menu,
  Breadcrumb,
  Radio,
  Table,
  Dropdown,
  Tag,
  Badge,
  Empty,
  Checkbox,
  Select,
]
export function setupAntd(app: any) {
  arr.map((item) => {
    app.use(item)
  })
}
